From c518e3ddcc7bee86331a3c2f73896793d00f4f91 Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Fri, 12 Dec 2025 22:36:57 -0500 Subject: [PATCH] overviewControls: Use ease-out-sine when entering overview and app grid Using animations with slower initial curves on display-wide layout shifts may provide a smoother experience to users of low(er) refresh rate and/or large(r) displays, as they avoid skipping large chunks of frames, making it less choppy at the beginning of the animation. Part-of: --- js/ui/overviewControls.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index c86a02990..478318bd5 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -653,7 +653,7 @@ class ControlsManager extends St.Widget { this._stateAdjustment.remove_transition('value'); this._stateAdjustment.ease(value, { duration: SIDE_CONTROLS_ANIMATION_TIME, - mode: Clutter.AnimationMode.EASE_OUT_QUAD, + mode: Clutter.AnimationMode.EASE_OUT_SINE, }); } @@ -724,7 +724,7 @@ class ControlsManager extends St.Widget { this._stateAdjustment.value = ControlsState.HIDDEN; this._stateAdjustment.ease(state, { duration: Overview.ANIMATION_TIME, - mode: Clutter.AnimationMode.EASE_OUT_QUAD, + mode: Clutter.AnimationMode.EASE_OUT_SINE, onStopped: () => { if (callback) callback(); -- 2.39.5